home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 310;
- while(true)
- {
- if(eval("\x01") == 310)
- {
- set("\x01",eval("\x01") + 48);
- §§push(true);
- }
- else
- {
- if(eval("\x01") != 358)
- {
- break;
- }
- set("\x01",eval("\x01") - 35);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 377);
- }
- }
- }
- if(eval("\x01") == 323)
- {
- set("\x01",eval("\x01") + 377);
- play();
- }
- else if(eval("\x01") == 700)
- {
- set("\x01",eval("\x01") - 510);
- if(!_global.mx)
- {
- _global.mx = new Object();
- }
- §§pop();
- if(!_global.mx.remoting)
- {
- _global.mx.remoting = new Object();
- }
- §§pop();
- if(!_global.mx.remoting.debug)
- {
- _global.mx.remoting.debug = new Object();
- }
- §§pop();
- if(!_global.mx.remoting.debug.GlobalLocalConnection)
- {
- var _loc1_ = null;
- mx.remoting.debug.GlobalLocalConnection = _loc1_ = function(isController, receiver, domainName)
- {
- var _loc2_ = this;
- var _loc3_ = _global;
- super();
- _loc2_.maxConnections = 10;
- var sToMovie = "_NetDebugLocalToDebugMovie";
- var sToController = "_NetDebugLocalToController";
- var connectname = null;
- if(isController)
- {
- connectname = sToController;
- _loc2_.sendNames = new Array();
- _loc2_.sendNames.push(sToMovie);
- var _loc1_ = 0;
- while(_loc1_ < _loc2_.maxConnections)
- {
- _loc2_.sendNames.push(sToMovie + _loc1_);
- _loc1_ = _loc1_ + 1;
- }
- _loc2_.maxConnections = 0;
- }
- else
- {
- connectname = sToMovie;
- _loc2_.sendNames = new Array();
- _loc2_.sendNames.push(sToController);
- }
- _loc2_.setDomainName(domainName);
- if(_loc3_.g_NetDebugLocalConnection == undefined)
- {
- _loc3_.g_NetDebugLocalConnection = new LocalConnection();
- _loc3_.g_NetDebugLocalConnection.allowDomain = function()
- {
- return true;
- };
- }
- if(receiver != null)
- {
- _loc3_.g_NetDebugLocalConnection.m_Receiver = receiver;
- _loc3_.g_NetDebugLocalConnection.onData = function(dataobj)
- {
- _global.g_NetDebugLocalConnection.m_Receiver.onReceive(dataobj);
- };
- _loc3_.g_NetDebugLocalConnection.onCommand = function(commandobj)
- {
- _global.g_NetDebugLocalConnection.m_Receiver.onReceiveCommand(commandobj);
- };
- if(!_loc3_.g_NetDebugLocalConnection.connect(connectname))
- {
- var connected = false;
- _loc1_ = 0;
- while(_loc1_ < _loc2_.maxConnections)
- {
- if(_loc3_.g_NetDebugLocalConnection.connect(connectname + _loc1_))
- {
- connected = true;
- break;
- }
- _loc1_ = _loc1_ + 1;
- }
- if(!connected)
- {
- if(isController)
- {
- receiver.onReceiveError(new mx.remoting.debug.events.NetDebugDuplicateNCDError());
- }
- }
- }
- }
- };
- mx.remoting.debug.GlobalLocalConnection.prototype = new Object().setDomainName = function(domainName)
- {
- var _loc1_ = domainName;
- if(_loc1_ != null && _loc1_ != "")
- {
- this.sendPrefix = _loc1_ + ":";
- }
- else
- {
- this.sendPrefix = "";
- }
- };
- mx.remoting.debug.GlobalLocalConnection.prototype = new Object().send = function(dataobj)
- {
- return this.sendRaw("onData",dataobj);
- };
- mx.remoting.debug.GlobalLocalConnection.prototype = new Object().sendCommand = function(commandObj)
- {
- return this.sendRaw("onCommand",commandObj);
- };
- mx.remoting.debug.GlobalLocalConnection.prototype = new Object().sendRaw = function(functionName, obj)
- {
- var _loc3_ = this;
- var _loc2_ = true;
- var snlen = _loc3_.sendNames.length;
- var _loc1_ = 0;
- while(_loc1_ < snlen)
- {
- _loc2_ = Boolean(_loc2_ & _global.g_NetDebugLocalConnection.send(_loc3_.sendPrefix + _loc3_.sendNames[_loc1_],functionName,obj));
- _loc1_ = _loc1_ + 1;
- }
- return _loc2_;
- };
- §§push(ASSetPropFlags(mx.remoting.debug.GlobalLocalConnection.prototype,null,1));
- }
- §§pop();
- }
-